<?php
/*
MAKE IT MOBILE
by SCOTT ALLAN WALLICK, http://scottwallick.com/
from PLAINTXT.ORG, http://www.plaintxt.org/

MAKE IT MOBILE is free software: you can redistribute it and/or
modify it under the terms of the GNU General Public License as
published by the Free Software Foundation, either version 3 of
the License, or (at your option) any later version.

MAKE IT MOBILE is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
GNU General Public License for details.

You should have received a copy of the GNU General Public License
along with MAKE IT MOBILE. If not, see www.gnu.org/licenses/.
*/

if ( !function_exists('plaintxt_plugin_donate') ) {
	function plaintxt_plugin_donate() {
		$button = '
			<form id="paypal" action="https://www.paypal.com/cgi-bin/webscr" method="post" style="float:left;margin:0.9em 0.5em 0 0;">
				<div id="donate">
					<input name="cmd" type="hidden" value="_s-xclick" />
					<input name="submit" src="https://www.paypal.com/en_US/i/btn/x-click-but04.gif" type="image" alt="' . __( 'PayPal: The safer, easier way to donate!', 'mim' ) . '" />
					<img src="https://www.paypal.com/en_US/i/scr/pixel.gif" alt="' . __( 'Donate with PayPal', 'mim' ) . '" width="1" height="1" border="0" />
					<input type="hidden" name="encrypted" value="-----BEGIN PKCS7-----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-----END PKCS7-----" />
				</div>
			</form>';
		echo $button . "\n";
	}
}

if ( !current_user_can('manage_options') ) {
	die( __( 'ACCESS DENIED: Your don\'t have permission to do this.', 'mim' ) );
} elseif ( $_POST['action'] && $_POST['action'] == 'update' ) {
	check_admin_referer('mim_save_options');
	update_option( 'mim_adsensemob_bg', strip_tags( stripslashes( $_POST['adsensemob_bg'] ) ) );
	update_option( 'mim_adsensemob_border', strip_tags( stripslashes( $_POST['adsensemob_border'] ) ) );
	update_option( 'mim_adsensemob_channel', strip_tags( stripslashes( $_POST['adsensemob_channel'] ) ) );
	update_option( 'mim_adsensemob_io', strip_tags( stripslashes( $_POST['adsensemob_io'] ) ) );
	update_option( 'mim_adsensemob_link', strip_tags( stripslashes( $_POST['adsensemob_link'] ) ) );
	update_option( 'mim_adsensemob_pub', strip_tags( stripslashes( $_POST['adsensemob_pub'] ) ) );
	update_option( 'mim_adsensemob_text', strip_tags( stripslashes( $_POST['adsensemob_text'] ) ) );
	update_option( 'mim_adsensemob_url', strip_tags( stripslashes( $_POST['adsensemob_url'] ) ) );
	update_option( 'mim_color_b', strtoupper( strip_tags( stripslashes( $_POST['color_b'] ) ) ) );
	update_option( 'mim_color_d', strtoupper( strip_tags( stripslashes( $_POST['color_d'] ) ) ) );
	update_option( 'mim_color_l', strtoupper( strip_tags( stripslashes( $_POST['color_l'] ) ) ) );
	update_option( 'mim_comment_avatar_io', strip_tags( stripslashes( $_POST['comment_avatar_io'] ) ) );
	update_option( 'mim_comment_avatar_sz', strip_tags( stripslashes( $_POST['comment_avatar_sz'] ) ) );
	update_option( 'mim_comment_mobilizer', strip_tags( stripslashes( $_POST['comment_mobilizer'] ) ) );
	update_option( 'mim_footer_text', stripslashes( wp_filter_post_kses( $_POST['footer_text'] ) ) );
	update_option( 'mim_gray_d', strtoupper( strip_tags( stripslashes( $_POST['gray_d'] ) ) ) );
	update_option( 'mim_gray_l', strtoupper( strip_tags( stripslashes( $_POST['gray_l'] ) ) ) );
	update_option( 'mim_gray_m', strtoupper( strip_tags( stripslashes( $_POST['gray_m'] ) ) ) );
	update_option( 'mim_mobile_xhtml', strip_tags( stripslashes( $_POST['mobile_xhtml'] ) ) );
	update_option( 'mim_page_list_exclude', strip_tags( stripslashes( $_POST['page_list_exclude'] ) ) );
	update_option( 'mim_page_list_sorting', strip_tags( stripslashes( $_POST['page_list_sorting'] ) ) );
	update_option( 'mim_page_list_title', strip_tags( stripslashes( $_POST['page_list_title'] ) ) );
	update_option( 'mim_quick_link_title', strip_tags( stripslashes( $_POST['quick_link_title'] ) ) );
	update_option( 'mim_search_form_button', strip_tags( stripslashes( $_POST['search_form_button'] ) ) );
	update_option( 'mim_search_form_title', strip_tags( stripslashes( $_POST['search_form_title'] ) ) );
	update_option( 'mim_updated_today', strip_tags( stripslashes( $_POST['updated_today'] ) ) );
	$message = __( 'Options saved.', 'mim' );
}
if ( $message ) echo '<div id="message" class="updated fade"><p><strong>' . $message . '</strong></p></div>';
?>
<div class="wrap">
	<h2><?php _e( 'Make It Mobile', 'mim' ) ?></h2>
	<?php if ( function_exists('plaintxt_plugin_donate') ) plaintxt_plugin_donate(); ?>
	<p><?php _e( 'Thank you for using this <a href="http://www.plaintxt.org/" title="plaintxt.org">plaintxt.org</a> plugin. When deactivating this plugin, its settings will be permanently deleted from you database. Remember, you must click <i><u>S</u>ave Options</i> after making any changes.', 'mim' ) ?></p>
	<form method="post" action="<?php echo $_SERVER['REQUEST_URI'] ?>">
		<?php wp_nonce_field('mim_save_options'); echo "\n"; ?>
		<h3><?php _e( 'General options', 'mim' ) ?></h3>
		<table class="form-table" summary="<?php _e( 'General options', 'mim' ) ?>">
			<tr>
				<th scope="row"><label for="mobile_xhtml"><?php _e( 'Mobile profile', 'mim' ) ?></label></th>
				<td>
					<select name="mobile_xhtml" id="mobile_xhtml">
						<option value="1"<?php if ( get_option('mim_mobile_xhtml') == 1 ) echo ' selected="selected"'; ?>><?php _e( 'XHTML MP 1.0', 'mim' ) ?></option>
						<option value="2"<?php if ( get_option('mim_mobile_xhtml') == 2 ) echo ' selected="selected"'; ?>><?php _e( 'XHTML MP 1.1', 'mim' ) ?></option>
						<option value="3"<?php if ( get_option('mim_mobile_xhtml') == 3 ) echo ' selected="selected"'; ?>><?php _e( 'XHTML MP 1.2', 'mim' ) ?></option>
						<option value="4"<?php if ( get_option('mim_mobile_xhtml') == 4 ) echo ' selected="selected"'; ?>><?php _e( 'XHTML Basic 1.0', 'mim' ) ?></option>
						<option value="5"<?php if ( get_option('mim_mobile_xhtml') == 5 ) echo ' selected="selected"'; ?>><?php _e( 'XHTML Basic 1.1', 'mim' ) ?></option>
					</select>
				</td>
			</tr>
			<tr>
				<th scope="row"><label for="updated_today"><?php _e( 'New today text', 'mim' ) ?></label></th>
				<td><input id="updated_today" name="updated_today" type="text" value="<?php echo attribute_escape(get_option('mim_updated_today')) ?>" size="30" maxlength="20" /></td>
			</tr>
			<tr>
				<th scope="row"><label for="quick_link_title"><?php _e( 'Navigation title text', 'mim' ) ?></label></th>
				<td><input id="quick_link_title" name="quick_link_title" type="text" value="<?php echo attribute_escape(get_option('mim_quick_link_title')) ?>" size="30" maxlength="20" /></td>
			</tr>
			<tr>
				<th scope="row"><label for="page_list_title"><?php _e( 'Page list title text', 'mim' ) ?></label></th>
				<td><input id="page_list_title" name="page_list_title" type="text" value="<?php echo attribute_escape(get_option('mim_page_list_title')) ?>" size="30" maxlength="20" /></td>
			</tr>
			<tr>
				<th scope="row"><label for="page_list_sorting"><?php _e( 'Sort page list by', 'mim' ) ?></label></th>
				<td>
					<select name="page_list_sorting" id="page_list_sorting">
						<option value="ID"<?php if ( get_option('mim_page_list_sorting') == 'ID' ) echo ' selected="selected"'; ?>><?php _e( 'ID', 'mim' ) ?></option>
						<option value="menu_order"<?php if ( get_option('mim_page_list_sorting') == 'menu_order' ) echo ' selected="selected"'; ?>><?php _e( 'Menu order', 'mim' ) ?></option>
						<option value="post_author"<?php if ( get_option('mim_page_list_sorting') == 'post_author' ) echo ' selected="selected"'; ?>><?php _e( 'Post author', 'mim' ) ?></option>
						<option value="post_date"<?php if ( get_option('mim_page_list_sorting') == 'post_date' ) echo ' selected="selected"'; ?>><?php _e( 'Post date', 'mim' ) ?></option>
						<option value="post_modified"<?php if ( get_option('mim_page_list_sorting') == 'post_modified' ) echo ' selected="selected"'; ?>><?php _e( 'Post modified', 'mim' ) ?></option>
						<option value="post_name"<?php if ( get_option('mim_page_list_sorting') == 'post_name' ) echo ' selected="selected"'; ?>><?php _e( 'Post name', 'mim' ) ?></option>
						<option value="post_title"<?php if ( get_option('mim_page_list_sorting') == 'post_title' ) echo ' selected="selected"'; ?>><?php _e( 'Post title', 'mim' ) ?></option>
					</select>
					<p><label for="page_list_exclude"><?php _e( 'Exclude these page IDs:', 'mim' ) ?></label><input id="page_list_exclude" name="page_list_exclude" type="text" class="code" value="<?php echo attribute_escape(get_option('mim_page_list_exclude')) ?>" size="10" /> <?php _e( '(comma-separated list <em>without</em> spaces, e.g., <code>1,2,3</code>)', 'mim') ?></p>
				</td>
			</tr>
			<tr>
				<th scope="row"><label for="search_form_title"><?php _e( 'Search title text', 'mim' ) ?></label></th>
				<td><input id="search_form_title" name="search_form_title" type="text" value="<?php echo attribute_escape(get_option('mim_search_form_title')) ?>" size="30" maxlength="20" /></td>
			</tr>
			<tr>
				<th scope="row"><label for="search_form_button"><?php _e( 'Search button text', 'mim' ) ?></label></th>
				<td><input id="search_form_button" name="search_form_button" type="text" value="<?php echo attribute_escape(get_option('mim_search_form_button')) ?>" size="30" maxlength="20" /></td>
			</tr>
			<tr>
				<th scope="row"><label for="comment_avatar_io"><?php _e( 'Mobile avatars', 'mim' ) ?></label></th>
				<td>
					<select name="comment_avatar_io" id="comment_avatar_io">
						<option value="0"<?php if ( get_option('mim_comment_avatar_io') == 0 ) echo ' selected="selected"'; ?>><?php _e( 'Disabled', 'mim' ) ?></option>
						<option value="1"<?php if ( get_option('mim_comment_avatar_io') == 1 ) echo ' selected="selected"'; ?>><?php _e( 'Enabled', 'mim' ) ?></option>
					</select>
					<p><label for="comment_avatar_sz"><?php _e( 'Mobile avatar size:', 'mim' ) ?></label> <input id="comment_avatar_sz" name="comment_avatar_sz" type="text" value="<?php echo attribute_escape(get_option('mim_comment_avatar_sz')) ?>" class="code" size="4" maxlength="3" /></p>
				</td>
			</tr>
			<tr>
				<th scope="row"><label for="comment_mobilizer"><?php _e( 'Comment link mobilizer <abbr title="Uniform Resource Identifier">URI</abbr>', 'mim' ) ?></label></th>
				<td><input id="comment_mobilizer" name="comment_mobilizer" type="text" value="<?php echo attribute_escape(get_option('mim_comment_mobilizer')) ?>" class="code" size="50" maxlength="50" style="width:95%;" /></td>
			</tr>
			<tr>
				<th scope="row"><label for="footer_text"><?php _e( 'Footer text', 'mim' ) ?></label></th>
				<td>
					<textarea name="footer_text" id="footer_text" cols="50" rows="3" class="code" style="font-size:12px;width:95%;"><?php echo attribute_escape(get_option('mim_footer_text')); ?></textarea>
				</td>
			</tr>
		</table>
		<h3><?php _e( 'Design options', 'mim' ) ?></h3>
		<table class="form-table" summary="<?php _e( 'Design options', 'mim' ) ?>">
			<tr>
				<th scope="row"><?php _e( 'Design colors', 'mim' ) ?></th>
				<td>
					<p><span class="colorPreview" style="background-color:#<?php echo attribute_escape(get_option('mim_color_d')) ?>;"></span> <code>#</code><input id="color_d" name="color_d" type="text" value="<?php echo attribute_escape(get_option('mim_color_d')) ?>" class="code" size="7" maxlength="6" /> <label for="color_d"><?php _e( 'Dark color', 'mim' ) ?></label></p>
					<p><span class="colorPreview" style="background-color:#<?php echo attribute_escape(get_option('mim_color_l')) ?>;"></span> <code>#</code><input id="color_l" name="color_l" type="text" value="<?php echo attribute_escape(get_option('mim_color_l')) ?>" class="code" size="7" maxlength="6" /> <label for="color_l"><?php _e( 'Light color', 'mim' ) ?></label></p>
					<p><span class="colorPreview" style="background-color:#<?php echo attribute_escape(get_option('mim_color_b')) ?>;"></span> <code>#</code><input id="color_b" name="color_b" type="text" value="<?php echo attribute_escape(get_option('mim_color_b')) ?>" class="code" size="7" maxlength="6" /> <label for="color_b"><?php _e( 'Bang! color', 'mim' ) ?></label></p>
				</td>
			</tr>
			<tr>
				<th scope="row"><?php _e( 'Design grays', 'mim' ) ?></th>
				<td>
					<p><span class="colorPreview" style="background-color:#<?php echo attribute_escape(get_option('mim_gray_d')) ?>;"></span> <code>#</code><input id="gray_d" name="gray_d" type="text" value="<?php echo attribute_escape(get_option('mim_gray_d')) ?>" class="code" size="7" maxlength="6" /> <label for="gray_d"><?php _e( 'Dark gray', 'mim' ) ?></label></p>
					<p><span class="colorPreview" style="background-color:#<?php echo attribute_escape(get_option('mim_gray_m')) ?>;"></span> <code>#</code><input id="gray_m" name="gray_m" type="text" value="<?php echo attribute_escape(get_option('mim_gray_m')) ?>" class="code" size="7" maxlength="6" /> <label for="gray_m"><?php _e( 'Medium gray', 'mim' ) ?></label></p>
					<p><span class="colorPreview" style="background-color:#<?php echo attribute_escape(get_option('mim_gray_l')) ?>;"></span> <code>#</code><input id="gray_l" name="gray_l" type="text" value="<?php echo attribute_escape(get_option('mim_gray_l')) ?>" class="code" size="7" maxlength="6" /> <label for="gray_l"><?php _e( 'Light gray', 'mim' ) ?></label></p>
				</td>
			</tr>
		</table>
		<h3><?php _e( 'Adsense Mobile options', 'mim' ) ?></h3>
		<table class="form-table" summary="<?php _e( 'Adsense Mobile options', 'mim' ) ?>">
			<tr>
				<th scope="row"><label for="adsensemob_io"><?php _e( 'Use Adsense Mobile', 'mim' ) ?></label></th>
				<td>
					<select name="adsensemob_io" id="adsensemob_io">
						<option value="off"<?php if ( get_option('mim_adsensemob_io') == 0 ) echo ' selected="selected"'; ?>><?php _e( 'Disabled', 'mim' ) ?></option>
						<option value="mobile_single"<?php if ( get_option('mim_adsensemob_io') == 'mobile_single' ) echo ' selected="selected"'; ?>><?php _e( 'Single ad', 'mim' ) ?></option>
						<option value="mobile_double"<?php if ( get_option('mim_adsensemob_io') == 'mobile_double' ) echo ' selected="selected"'; ?>><?php _e( 'Double ad', 'mim' ) ?></option>
					</select>
				</td>
			</tr>
			<tr>
				<th scope="row"><label for="adsensemob_pub"><?php _e( 'Your publisher ID', 'mim' ) ?></label></th>
				<td><input id="adsensemob_pub" name="adsensemob_pub" type="text" value="<?php echo attribute_escape(get_option('mim_adsensemob_pub')) ?>" class="code" size="30" maxlength="20" /> <?php _e( '(include <code>pub-</code>, e.g., <code>pub-XXXXXXXXXXXXXXXX</code>)', 'mim' ) ?></td>
			</tr>
			<tr>
				<th scope="row"><label for="adsensemob_channel"><?php _e( 'Ad channel ID', 'mim' ) ?></label></th>
				<td><input id="adsensemob_channel" name="adsensemob_channel" type="text" value="<?php echo attribute_escape(get_option('mim_adsensemob_channel')) ?>" class="code" size="30" maxlength="20" /> <?php _e( '(separate multiple channels with <code>+</code> <em>without</em> spaces)', 'mim' ) ?></td>
			</tr>
			<tr>
				<th scope="row"><?php _e( 'Ad colors', 'mim' ) ?></th>
				<td>
					<p><span class="colorPreview" style="background-color:#<?php echo attribute_escape(get_option('mim_adsensemob_border')) ?>;"></span> <code>#</code><input id="adsensemob_border" name="adsensemob_border" type="text" value="<?php echo attribute_escape(get_option('mim_adsensemob_border')) ?>" class="code" size="7" maxlength="6" /> <label for="adsensemob_border"><?php _e( 'Border', 'mim' ) ?></label></p>
					<p><span class="colorPreview" style="background-color:#<?php echo attribute_escape(get_option('mim_adsensemob_bg')) ?>;"></span> <code>#</code><input id="adsensemob_bg" name="adsensemob_bg" type="text" value="<?php echo attribute_escape(get_option('mim_adsensemob_bg')) ?>" class="code" size="7" maxlength="6" /> <label for="adsensemob_bg"><?php _e( 'Background', 'mim' ) ?></label></p>
					<p><span class="colorPreview" style="background-color:#<?php echo attribute_escape(get_option('mim_adsensemob_link')) ?>;"></span> <code>#</code><input id="adsensemob_link" name="adsensemob_link" type="text" value="<?php echo attribute_escape(get_option('mim_adsensemob_link')) ?>" class="code" size="7" maxlength="6" /> <label for="adsensemob_link"><?php _e( 'Link', 'mim' ) ?></label></p>
					<p><span class="colorPreview" style="background-color:#<?php echo attribute_escape(get_option('mim_adsensemob_text')) ?>;"></span> <code>#</code><input id="adsensemob_text" name="adsensemob_text" type="text" value="<?php echo attribute_escape(get_option('mim_adsensemob_text')) ?>" class="code" size="7" maxlength="6" /> <label for="adsensemob_text"><?php _e( 'Text', 'mim' ) ?></label></p>
					<p><span class="colorPreview" style="background-color:#<?php echo attribute_escape(get_option('mim_adsensemob_url')) ?>;"></span> <code>#</code><input id="adsensemob_url" name="adsensemob_url" type="text" value="<?php echo attribute_escape(get_option('mim_adsensemob_url')) ?>" class="code" size="7" maxlength="6" /> <label for="adsensemob_url"><?php _e( 'URL/Name', 'mim' ) ?></label></p>
				</td>
			</tr>
		</table>
		<p class="submit">
			<input id="update" name="update" type="submit" value="<?php _e( 'Save Changes', 'mim' ) ?>" accesskey="S" />
			<input name="action" type="hidden" value="update" />
			<input name="page_options" type="hidden" value="adsensemob_bg,adsensemob_border,adsensemob_channel,adsensemob_io,adsensemob_link,adsensemob_pub,adsensemob_text,adsensemob_url,color_b,color_d,color_l,comment_avatar_io,comment_avatar_sz,comment_mobilizer,footer_text,gray_d,gray_l,gray_m,adsensemob_bg,page_list_exclude,page_list_sorting,page_list_title,quick_link_title,search_form_button,search_form_title,updated_today" />
		</p>
	</form>
</div>